package com.zyb.warehouse.mapper;

import com.zyb.warehouse.entity.Supply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Description:供应商持久层接口
 */
@Mapper
public interface SupplyMapper {

    /**
     * 查询所有供应商
     *
     * @return
     */
    @Select("select * from supply where is_delete=0")
    List<Supply> selectAllSupply();
}
